package cn.da.shuai.cool.system.model.entity.dept;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(name = "DeptUserDto", description = "系统部门用户关系DTO")
public class DeptUserDto implements Serializable {

    @Schema(description = "部门id")
    private Integer deptId;

    @Schema(description = "用户id")
    private Integer userId;

    @Schema(description = "部门名称")
    private String deptName;

    @Schema(description = "部门ID层级树")
    private String deptTree;

    @Schema(description = "是否主部门")
    private Integer isMain;
}
